// eslint-disable-next-line @typescript-eslint/no-var-requires
const { generateService } = require("@umijs/openapi");

generateService({
  requestLibPath: "import request from '@/utils/request'",
  schemaPath: "http://localhost:8900/api/v2/api-docs",
  serversPath: "./src",
});
